import { defineStore } from "pinia";

export const useAdminStare:any =defineStore('admin',{
    //state:存储共享数据
    state:()=>{
        return{
            str:"好好学习，天天向上",
            useinfo:{}
        }
    },
    persist: {
        storage: sessionStorage,
    },
})